package com.group.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.group.pojo.TbBill;
import com.group.service.BillService;

@Controller
@RequestMapping("/bill")
public class BillController {
	@Autowired
	private BillService billService;

	// 获取所有的审核单
	@RequestMapping("/query.action")
	@ResponseBody
	public List<TbBill> query(TbBill bill) {
		List<TbBill> list = billService.query(bill);
		return list;
	}
	// 获取所有的审核单
	@RequestMapping("/queryMultiStatus.action")
	@ResponseBody
	public List<TbBill> queryMultiStatus(TbBill bill) {
		List<TbBill> list = billService.queryMultiStatus(bill);
		return list;
	}
	 
}
